<?php
@session_start();
include "../../../jerimum/classes/bd.php";
include "../../../jerimum/classes/pedidos.php";
include "../../../jerimum/classes/anuncios.php";
include "../../../jerimum/classes/clientes.php";
include "../../../jerimum/classes/cartas.php";

$_ped		= new pedidos(); #CLASSES
$_anu		= new anuncios(); #CLASSES
$_car		= new cartas();
$_cli		= new clientes();

$pedidos	= $_ped->pega($_GET["idpedido"]); //POIS ESTA VInDO DE UM INCLUDE
$anuncio	= $_anu->pega($pedidos["id_item"]);
$data		= converte_datetime($pedidos["data"]);
$dadoscompr = $_cli->pega($pedidos["id_comprador"]);

$dadosvende = $_cli->pega($pedidos["id_vendedor"]);
$dadoscompr = $_cli->pega($pedidos["id_comprador"]);

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<form action="modulos/painel/qualificacao/acao.php?acao=qualificar_final" method="post">
<input type="hidden" value="<?=$pedidos["id"]?>" name="id" />

<div style="margin-top:10px; margin-bottom:10px"><a href="javascript:void(0);" onclick="javascript:carregaPagina('modulos/painel/qualificacao/<?=$_REQUEST["de"]?>.php','','CarregaPaginaMenu');">&lt;&lt; voltar</a></div>

<h3>QUALIFICAR &raquo;<?=$pedidos["id"]?></h3>

A negociação foi:<br /><br />

<div style="float:left; width:250px; margin-left:10px">
  <input name="ponto" type="radio" value="1" checked="checked" />
  
  <input name="comprador" type="hidden" value="1" />

  Positiva
  <div style="margin-top:5px; background-color:#F0F0F0; padding:2px; width:250px; border:solid 1px #BBB"> Coment&aacute;rio<br />
    <textarea name="positivo" cols="28" rows="5" id="positivo"></textarea>
</div>
</div> 




<div style="float:left; width:250px; margin-left:10px">
  <input name="ponto" type="radio" value="2" checked="checked" />
  Negativa
  <div style="margin-top:5px; background-color:#F0F0F0; padding:2px; width:250px; border:solid 1px #BBB"> Coment&aacute;rio<br />
    <textarea name="negativo" cols="28" rows="5" id="negativo"></textarea>
</div>
</div> 

<div style="float:left; width:250px; margin-left:10px">
  <input name="ponto" type="radio" value="0" checked="checked" />
  Neutra
  <div style="margin-top:5px; background-color:#F0F0F0; padding:2px; width:250px; border:solid 1px #BBB"> Coment&aacute;rio<br />
    <textarea name="neutro" cols="28" rows="5" id="neutro"></textarea>
</div>
</div> 
<div style="clear:both">&nbsp;</div>
<div style="clear:left; margin-top:0px; margin-left:10px; width:100%">
<input  name="Qualificar" type="submit" class="butao_sub" value="Qualificar esta compra" /></div>

</form>
</body>
</html>
